package laboesi;

public class DecimalBinaire { 
     public static void main ( String[] args ) { 

	int total;
	int nbr;
	nbr = 10;
	total = 0 ;
	while (nbr != 0) {

		total = nbr%2;
		System.out.println(total);
		nbr = nbr/2;

	}

	}
}
